<template>
  <tm-app ref="app">
    <tm-navbar title="13516" hide-home> </tm-navbar>
    <tm-button @click="orderSu" block label="确认切换"></tm-button>
	<tm-button @click="orderSub" block label="不同按钮"></tm-button>
    模板
  </tm-app>
</template>


<script lang="ts" setup>
import { ref, getCurrentInstance, nextTick } from 'vue'
import { onShow, onLoad, onInit } from '@dcloudio/uni-app'
import { orderSubmit, orderList } from '@/api'

const orderSu = async () => {
  await orderSubmit()
}
const orderSub = async () => {
  await orderList()
}
const { proxy } = getCurrentInstance()
</script>
